import Http from '../../ajax/Http';
const service = 'api/qc';

class QCProjectController{
    /**
     * 获取QC项目列表
     * @param {*} params 
     */
    getList(params){
        return Http.post(service,'project-page',params)
    }
    /**
     * 获取QC项目列表
     * @param {*} params 
     */
    getParticipatedList(params){
        return Http.post(service,'participated-page',params)
    }
    /**
     * 获取项目执行列表
     * @param {*} params 
     */
    getExecutionList(params){
        return Http.post(service,'get-execution-list',params)
    }
    /**
     * 创建新QC项目
     * @param {*} params 
     */
    created(params){
        return Http.post(service,'created-project',params)
    }
    /**
     * 项目评价提交
     * @param {*} params 
     */
    evaluation(params){
        return Http.post(service,'evaluation',params)
    }
    /**
     * 成果提报
     * @param {*} params 
     */
    resultSubmit(params){
        return Http.post(service,'result-submit',params)
    }
    //审核提交
    reviewSubmit(params){
        return Http.post(service,'review-submit',params)
    }
    //获取归口部门审批列表
    getAttributeList(params){
        return Http.post(service,'get-attribute-list',params)
    }
    //获取待评审列表
    getToEvaluationList(params){
        return Http.post(service,'get-to-evaluation-list',params)
    }
    // 评审结果提交
    evaluationSubmit(params){
        return Http.post(service,'evaluation-submit',params)
    }
    
}
export default new QCProjectController();